package com.magic.zhixin.repository;

import com.magic.zhixin.entity.UserTopic;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserTopicRepository extends JpaRepository<UserTopic,Long>{

    List<UserTopic> findByUserId(Long id);

    List<UserTopic> findByIsHot(Boolean b);
}
